home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
T U R B O Language
/
Turbo C v2.0
/
BUILD-C0.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-08-29
|
663b
|
32 lines
echo off
if x%1 == xTINY goto ok
if x%1 == xSMALL goto ok
if x%1 == xCOMPACT goto ok
if x%1 == xMEDIUM goto ok
if x%1 == xLARGE goto ok
if x%1 == xHUGE goto ok
echo BUILD-C0 must have argument: TINY, SMALL, COMPACT, MEDIUM, LARGE or HUGE
goto done
:ok
echo on
goto make-%1
:make-TINY
TASM C0,C0T /D__TINY__ /MX;
goto done
:make-SMALL
TASM C0,C0S /D__SMALL__ /MX;
goto done
:make-COMPACT
TASM C0,C0C /D__COMPACT__ /MX;
goto done
:make-MEDIUM
TASM C0,C0M /D__MEDIUM__ /MX;
goto done
:make-LARGE
TASM C0,C0L /D__LARGE__ /MX;
goto done
:make-HUGE
TASM C0,C0H /D__HUGE__ /MX;
echo on
:done